package com.tduck.cloud.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tduck.cloud.account.entity.RoleEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色服务
 *
 * @author Guard Baby
 * @date 2023/09/09
 */
public interface RoleService extends IService<RoleEntity> {
    List<RoleEntity> getRoleByUserId(Long userId);
    List<Long> getUserIdsByRoleIds(List<Long> roleIds);
}
